package com.example.project_springboot.aop;

import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
import org.springframework.stereotype.Component;

@Component
@Aspect
public class MyLogAspect {
    @Around("@annotation(com.example.project_springboot.aop.MyLog)")
    public Object recordMyLog(ProceedingJoinPoint joinPoint) throws Throwable {
        Object o = joinPoint.proceed();
        return o;
    }
}
